inline bool& ZBufferState::enabled()
{
	return m_enabled;
}

inline bool& ZBufferState::writable()
{
	return m_writeable;
}

inline ZBufferState::CompareFunction& ZBufferState::compare()
{
	return m_compare;
}